package com.zatech.cgnci.project.base.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 工作流枚举类
 */
@Getter
@AllArgsConstructor
public enum ApprovalConfigEnum {

    APPROVAL_CONFIG_001("001", "新增险种最大净自留限额流程", "/cgnci/api/insure-plan/detail", "跳转险种最大净自留限额详情"),

    APPROVAL_CONFIG_002("002", "编辑险种最大净自留限额流程", "/cgnci/api/insure-plan/detail", "跳转险种最大净自留限额详情"),

    APPROVAL_CONFIG_003("003", "新增再保公司审核流程", "/cgnci/api/insurance-company/detail", "跳转再保公司详情"),

    APPROVAL_CONFIG_004("004", "编辑再保公司审核流程", "/cgnci/api/insure-plan/detail", "跳转再保公司详情"),

    APPROVAL_CONFIG_005("005", "新增项目审核流程", "/cgnci/api/business/project/detail", "跳转项目详情"),

    APPROVAL_CONFIG_006("006", "作废项目审核流程", "/cgnci/api/business/project/detail", "跳转项目详情"),

    APPROVAL_CONFIG_007("007", "新增保单审核流程", "/cgnci/api/business/insurance/detail", "跳转保单详情"),

    APPROVAL_CONFIG_008("008", "新增保单审核流程(触发再保人集中度规则)", "/cgnci/api/business/insurance/detail", "跳转保单详情"),

    APPROVAL_CONFIG_009("009", "新增分入合约审核流程", "/cgnci/api/business/divide-in/detail", "跳转分入详情"),

    APPROVAL_CONFIG_010("010", "新增分入合约审核流程(触发倒签规则)", "/cgnci/api/business/divide-in/detail", "跳转分入详情"),

    APPROVAL_CONFIG_011("011", "新增分入合约批改审核流程", "/cgnci/api/endorsement/divide-in/detail", "跳转批单合约分入详情"),

    APPROVAL_CONFIG_012("012", "新增保单批改审核流程", "/cgnci/api/endorsement/insurance/detail", "跳转批单保单详情"),

    APPROVAL_CONFIG_013("013", "新增分出合约审核流程", "/cgnci/api/business/divide-out/detail", "跳转分出详情"),

    APPROVAL_CONFIG_014("014", "新增分出合约审核流程(触发倒签规则)", "/cgnci/api/business/divide-out/detail", "跳转分出详情"),

    APPROVAL_CONFIG_015("015", "新增分出合约批改审核流程", "/cgnci/api/endorsement/divide-out/detail", "跳转批单合约分出详情"),

    APPROVAL_CONFIG_016("016", "新增准备金计提/调整核流程", "2", "3"),

    APPROVAL_CONFIG_017("017", "新增保单审核流程(触发再保人集中度规则&倒签规则)", "/cgnci/api/business/insurance/detail", "跳转保单详情"),

    APPROVAL_CONFIG_018("018", "新增保单审核流程(触发特殊字段修改规则)", "/cgnci/api/business/insurance/detail", "跳转保单详情"),

    APPROVAL_CONFIG_019("019", "新增保单审核流程(触发倒签规则)", "/cgnci/api/business/insurance/detail", "跳转保单详情"),

    APPROVAL_CONFIG_020("020", "新增项目任任务(触发倒签规则)", "/cgnci/api/business/project/detail", "跳转项目详情"),

    ;

    private final String groupId;
    private final String taskType;
    private final String redirectionUrl;
    private final String redirectionDesc;

}
